import DocumentIcon from '@/static/icons/menu/document.svg'
import FolderAltIcon from '@/static/icons/menu/folder-alt.svg'
import FolderIcon from '@/static/icons/menu/folder.svg'
import PencilIcon from '@/static/icons/menu/pencil.svg'
import PrinterIcon from '@/static/icons/menu/printer.svg'
import ShareAltIcon from '@/static/icons/menu/share-alt.svg'
import ShareIcon from '@/static/icons/menu/share.svg'
import StorageIcon from '@/static/icons/menu/storage.svg'

interface NewsItem {
  id: number
  title: string
  image: string
  date: string
  views: number
  likes: number
  url: string
}
interface SwiperItemType {
  name: string
  img: string
  url: string
  description?: string
  priority?: boolean
}
interface MenuItem {
  name: string
  icon: string
}
const menuList: MenuItem[] = [
  { name: '文档', icon: DocumentIcon },
  { name: '文件夹', icon: FolderIcon },
  { name: '打印', icon: PrinterIcon },
  { name: '存储', icon: StorageIcon },
  { name: '编辑', icon: PencilIcon },
  { name: '分享', icon: ShareIcon },
  { name: '文件', icon: FolderAltIcon },
  { name: '分享2', icon: ShareAltIcon },
]
const newsList: NewsItem[] = [
  {
    id: 1,
    title: 'ContiNew Admin | 头脑风暴！关键设计投票',
    image: '/static/images/home/new1.jpg',
    date: '2025-03-30',
    views: 198,
    likes: 4,
    url: 'https://mp.weixin.qq.com/s/xzhPZIB7bpkDfhQo2FGsfA',
  },
  {
    id: 2,
    title: 'ContiNew Admin v3.5.0 | 角色管理全面升级',
    image: '/static/images/home/new2.jpg',
    date: '2025-03-05',
    views: 319,
    likes: 25,
    url: 'https://mp.weixin.qq.com/s/DThrJfJWTcG5Zxm6iOfWnA',
  },
  {
    id: 3,
    title: 'ContiNew Admin | 多租户分支上线动态隔离级别',
    image: '/static/images/home/new3.jpg',
    date: '2024-12-26',
    views: 169,
    likes: 10,
    url: 'https://mp.weixin.qq.com/s/LX0sSoEFNm7tdQhKVK7rpw',
  },
]
export { MenuItem, menuList, NewsItem, newsList, SwiperItemType }
